<jsp:include page="../includes/header.jsp" />
<%@ taglib prefix ="s" uri="/struts-tags" %>
<div class="box box-f">
<div class="box-1 box-bg">            
	  <div id="faded">
			  <ul>
					<li><img src="theme/img/img-4.jpg" width="977" height="343" alt="" /><div>
						<span class="price">visez tout<span>$355</span></span><h4>Devenez le champion de PokerFace</h4><br/>
						</div>
					</li>
					<li><img src="theme/img/img-1.jpg" width="977" height="343" alt="" /><div>
						<span class="price">visez tout<span>$355</span></span><h4>Devenez le champion de PokerFace</h4><br/>
						</div>
					</li>
					<li><img src="theme/img/img-2.jpg" width="977" height="343" alt="" /><div>
						<span class="price">visez tout<span>$355</span></span><h4>Devenez le champion de PokerFace</h4><br/>
						</div>
					</li>
					<li><img src="theme/img/img-3.jpg" width="977" height="343" alt="" /><div>
						<span class="price">visez tout<span>$355</span></span><h4>Devenez le champion de PokerFace</h4><br/>
						</div>
					</li>
			  </ul>
	   </div>
</div>
</div>
	<div id="wrapper">
		<div class="box-1">
			<div class="col-1">
				<h2><s:property value="%{getText('pokerface.message.tables_actives')}"></s:property></h2>
				<a class="button" onclick="refresh();"><s:property value="%{getText('pokerface.message.rafraichir')}"></s:property></a>
				<a class="button" href="table_">
					<s:property value="%{getText('pokerface.message.creer_table')}"/>
				</a>
				<div class="clear"></div>
				<ul class="listing" id="tablelist">
					<s:if test="%{listTables.size()>0}">
						<s:iterator value="listTables">
							<li><a href="table?tid=<s:property value="tableId"/>"><span><s:property value="name"/> 
								<small>(<s:property value="count"/> / 10)</small></span></a></li>			
						</s:iterator>
					</s:if>
					<s:else>
						<li><s:property value="%{getText('pokerface.message.aucune_table')}"/></li>
					</s:else>
				</ul>
			</div>
			<div class="col-2">
				<h2><s:property value="%{getText('pokerface.message.bienvenue')}"/>,
					<s:property value="%{#session.name}"/></h2>
				<h3><s:property value="%{getText('pokerface.message.vos_statistiques')}"></s:property></h3>
			</div>
			<div class="clear"></div>
		</div>
	</div>

<jsp:include page="../includes/footer-1.jsp" />